package teleradiologia.service;

import java.util.List;

import teleradiologia.domain.*;
import teleradiologia.repository.AddressDao;
import teleradiologia.repository.DiagnosticlabDao;

public interface DiagnosticlabManipulator {

	List<Diagnosticlab> getAll();

	// simple CRUD operations
	Diagnosticlab getByKrsnumber(String krsnumber);	// read
	void update(Diagnosticlab diagnosticlab);	 	// update
	void delete(Diagnosticlab diagnosticlab);	 	// delete
	void create(Diagnosticlab diagnosticlab, Address address);

	// IoC - setter
	public void setDiagnosticlabDao(DiagnosticlabDao diagnosticlabDao);
	public void setAddressDao(AddressDao dao);

	List<Object[]> getAllByOrdertype(Ordertype ordertype);
}
